package com.huilian.iotbox.data.dto;

import com.huilian.iotbox.data.vo.ChainStoreVo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class TicketRecordDto extends QueryParam implements Serializable {
    private static final long serialVersionUID = -82469317287564556L;
    private Long id;
    /**
     * 会员id
     */
    private Long memberId;
    /**
     * 商户id
     */
    private Integer userId;
    /**
     * 场地id
     */
    private Integer merchantStoreId;
    /**
     * 商品上下架id
     */
    private Long commodityStoreUpDownId;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 兑换订单ID
     */
    private Integer orderExchangeId;
    /**
     * 指定到期时间
     */
    private Date specifyDueTime;
    /**
     * 是否已过期，0/null：未过期，1：已过期
     */
    private Boolean haveExpired;
    /**
     * 总游玩次数
     */
    private Integer numberOfPlay;
    /**
     * 剩余游玩次数
     */
    private Integer totalNumberOfPlay;
    /**
     * ticketPackageType=3，每个项目剩余可核销次数，例如[{commodityProjectUpDownId:1, time:5}]
     */
    private String productItemTimes;

    private List<CommodityProjectUpDownDto> commodityProjectUpDownDtos;
    private String commodityProjectUpDownDtoList;
    private Integer addTotalNumberOfPlay;
    private String mobile;
    private List<ChainStoreVo> chainStoreVoList;
    private String memberQrKey;
    private Integer commodityProjectId;

    /**
     * 指定到期时间
     */
    private String specifyDueTimeStr;

    private String endTime;
    private String startTime;
    private Integer agencyId;
    /** 操作商户ID，User表的ID */
    private Integer operationUserId;
    private Long commodityProjectUpDownId;

}
